Configure GigaSMART Operation for Layer 2 GRE
To access GigaSMART within GigaVUE‑FM, access a device that has been added to GigaVUE‑FM from the GigaVUE‑FM interface. GigaSMART appears in the navigation pane of the device view on supported devices. Refer to Access GigaSMART from GigaVUE‑FM for details.
To configure the L2GRE encapsulation/decapsulation types and options, use the GigaSMART Operations (GSOP) page:
|
1.
|
From the device view, select GigaSMART > GigaSMART Operations (GSOP) > GigaSMART Operation. |
|
3.
|
On the GigaSMART Operations page, do the following: |
|
a.
|
Type an alias in the Alias field. |
|
b.
|
In the GigaSMART Groups field, select the gsgroup for this operation. |
|
c.
|
In the GigaSMART Operations (GSOP) field, select either Tunnel Decapsulation or Tunnel Encapsulation from the drop-down list, depending on whether you want decapsulation or encapsulation. |
|
d.
|
Select L2GRE, and then enter options in the fields that display. |
Example 1 – GigaSMART L2GRE Tunnel Encapsulation
In this example, an IP interface is configured on the tool port. A GigaSMART operation for tunnel encapsulation is configured to encapsulate the filtered packets. A map is configured that uses the L2GRE tunnel encapsulation GigaSMART operation, which sends packets from the remote site over the Internet to the main office using the IP interface associated with a tool port. Staring with software version 5.4 GigaSMART L2GRE Tunnel Encapsulation provides support for IPv6 with load-balancing.
Task
|
Description
|
UI Steps
|
|
Configure a tool type of port and a network type of port.
|
|
a.
|
Select Ports > All Ports. |
|
b.
|
Click Quick Port Editor. |
|
c.
|
Use Quick search to find the ports to configure. |
|
d.
|
Set the type (Network or Tool) for each port and select Enable. |
|
|
Configure a GigaSMART group and associate it with a GigaSMART engine port.
|
|
a.
|
From the device view, select GigaSMART > GigaSMART Groups. |
|
c.
|
Type an alias in the Alias field and enter an engine port in the Port List field. |
|
|
Configure the IP interface with an IP address, subnet mask, default gateway, and MTU setting. Assign it to the GigaSMART group.
|
|
a.
|
Select Ports > Ports > IP Interfaces. |
|
c.
|
On the IP Interfaces page, in the Alias and Description fields, enter a name and description for the IP interface. |
|
d.
|
Click the Ports field and select the network or tool port from the drop-down list. |
|
e.
|
Select Type: IPv4 or IPv6 |
|
f.
|
Enter the IP address, subnet mask, gateway, and MTU settings in the respective fields. |
|
g.
|
Click on the GigaSMART Group field to select the GigaSMART group. |
|
|
Configure the GigaSMART operation for tunnel encapsulation and assign it to the GigaSMART group. The tunnel encapsulation settings include the IP address (IPv4) of the IP interface on the destination GigaSMART node and the GRE key that identifies the source of the tunnel.
|
|
a.
|
From the device view, select GigaSMART > GigaSMART Operations > GigaSMART Operation. |
|
c.
|
Type an alias in the Alias field. |
|
d.
|
From the GigaSMART Groups drop-down list, select the GigaSMART Group that you created in the second task. |
|
e.
|
From the GigaSMART Operations (GSOP) drop-down list select Tunnel Encapsulation. |
|
f.
|
Select L2GRE for the encapsulation type. |
|
g.
|
Enter the IP address of the IP interface in the Destination IP field. |
|
h.
|
IPv4, iPv6 or Port Group |
|
i.
|
Enter the key parameter in the Key field. |
|
|
Create a map using the tunnel encapsulation GigaSMART operation, with packets coming from the network port and being sent to the Internet through the tool port.
|
|
c.
|
Type an alias in the Map Alias field that will help you identify this map. |
|
d.
|
Select Regular for Type and By Rule for Subtype. |
|
e.
|
Specify the network and tool ports that you configured in task one in the Source and Destination fields, respectively. |
|
f.
|
From the GigaSMART Operations (GSOP) drop-down list, select the GigaSMART operation configured in task 4. |
|
g.
|
Click Add a Rule under Map Rules and create the following rule: |
Select IP Version from the drop-down list and select v4 for Version, and then select Pass.
|
Example 2 – GigaSMART L2GRE Tunnel Encap Stateful LB
Example 2 configures stateful load balancing of tunnel traffic to tunnel endpoints based on a metric. Each tunnel endpoint is assigned a weight.
To access GigaSMART within GigaVUE‑FM, access a device that has been added to GigaVUE‑FM from the GigaVUE‑FM interface. GigaSMART appears in the navigation pane of the device view on supported devices. Refer to Access GigaSMART from GigaVUE‑FM for details.
To configure this example:
|
1.
|
Go to Ports > Ports > All Ports. Make sure you have one tool type of port and one network type of port enabled. Also make sure you have a GigaSMART port (eport). |
|
2.
|
Go to GigaSMART > GigaSMART Groups. |
|
3.
|
Click New, and then configure an Alias for the GigaSMART group and associate it with a GigaSMART engine port. |
|
5.
|
Go to Ports > Ports > IP Interfaces. |
|
6.
|
Click New, and then in the Alias and Description fields, enter the alias and description of the IP interface. |
|
7.
|
Select a port and configure it with an IP version Type, IP Address, IP Mask, Gateway, and MTU. Assign the IP interface to the GigaSMART group. |
|
9.
|
Go to Ports > Tunnel Endpoints. |
|
10.
|
Click New, then configure one or more tunnel endpoint IDs and their IP Addresses. The Alias is optional. |
|
12.
|
Go to Ports > Port Groups. |
|
13.
|
Click New, then type an alias for the port group, select GigaSMART Load Balancing, select the previously configured tunnel endpoints. Optionally, you can specify weights for each tunnel endpoint in the port group. |
|
15.
|
Go to GigaSMART > GigaSMART Operations (GSOP) > GigaSMART Operation. |
|
16.
|
Click New, then select the same GigaSMART Group and Tunnel Encapsulation for the GSOP. Under Load Balancing, select Stateful, the type Tunnel, and the metric, such as Round Robin. Under Tunnel Encapsulation, select L2GRE, Destination Port Group, select the Port Group, Session Field, and Session Position. Refer to Figure 1 New GigaSMART Operation for Stateful Load Balancing. |
|
Figure 139
|
New GigaSMART Operation for Stateful Load Balancing |
|
19.
|
Click New, then type an alias for the map, select type Regular and subtype ByRule. Under Map Source and Destination, select a network port as the Source and a tool port as the Destination, then select the GigaSMART operation. Under Map Rules, configure a map rule. Refer to Figure 2 New Map Configuration. |
|
Figure 140
|
New Map Configuration |
Example 3 – GigaSMART L2GRE Tunnel Encap Stateless LB
Example 3 configures stateless load balancing of tunnel traffic to tunnel endpoints based on a hash value.
Example 3 has the same configuration steps as Example 2 except for the GigaSMART operation (gsop) in Step 16. Under Load Balancing, select Stateless and the metric, such as Five Tuple. Under Tunnel Encapsulation, select L2GRE, Destination Port Group, and select the Port Group. Refer to Figure 3 New GigaSMART Operation for Stateless.
|
Figure 141
|
New GigaSMART Operation for Stateless |
Example 4 – GigaSMART L2GRE Tunnel Decapsulation
In this example, an IP interface is configured on the network port. A GigaSMART operation for tunnel decapsulation is configured to decapsulate the filtered packets. A map is configured that uses the L2GRE tunnel decapsulation GigaSMART operation, which receives packets from the remote site over the Internet to the main office using the IP interface associated with a tool port and then forwards packets over the tool port. Staring with software version 5.4 GigaSMART L2GRE Tunnel Decapsulation provides support for IPv6 with load-balancing.
Task
|
Description
|
UI Steps
|
|
Configure a network type of port and a tool type of port.
|
|
a.
|
Select Ports > Ports > All Ports. |
|
b.
|
Click Quick Port Editor. |
|
c.
|
Use Quick search to find the ports to configure. |
|
d.
|
Set the type for each port and select Enable. |
|
|
Configure a GigaSMART group and associate it with a GigaSMART engine port.
|
|
a.
|
From the device view, select GigaSMART > GigaSMART Groups. |
|
c.
|
Type an alias in the Alias field and enter an engine port in the Port List field. |
|
|
Configure the IP interface with an IP address, subnet mask, default gateway, and MTU setting. Assign it to the GigaSMART group.
The IP address must match the destination IP address specified at the sending end of the tunnel.
|
|
a.
|
Select Ports > IP Interfaces. |
|
c.
|
On the IP Interfaces page, in the Alias and Description fields, enter the name and description for the IP interface. |
|
d.
|
Click the Ports field and select the port from the drop-down list. |
|
e.
|
Enter the IP address, subnet mask, gateway, and MTU settings in the respective fields. |
|
f.
|
Click on the GigaSMART Group field to select the GigaSMART group. |
|
|
Configure the GigaSMART operation for tunnel decapsulation and assign it to the GigaSMART group. The tunnel decapsulation settings include the GRE key that identifies the source of the tunnel.
|
|
a.
|
From the device view, select GigaSMART > GigaSMART Operations > GigaSMART Operation. |
|
c.
|
Type an alias in the Alias field. |
|
d.
|
From the GigaSMART Groups drop-down list, select the GigaSMART Group that you created in the second task. |
|
e.
|
From the GigaSMART Operations (GSOP) drop-down list select Tunnel Decapsulation. |
|
f.
|
Select L2GRE for the decapsulation type. |
|
g.
|
Enter the GRE key in the Key field. |
|
|
Create a map using the tunnel decapsulation GigaSMART operation, with packets coming from the Internet through the network port and being sent to the local tool port.
|
|
a.
|
Select Maps > Maps > Maps. |
|
c.
|
Type an alias in the Map Alias field that will help you identify this map. |
|
d.
|
Select Regular and By Rule for the map type and subtype. |
|
e.
|
Specify the network and tool ports that you configured in task one in the Source and Destination fields, respectively. |
|
f.
|
From the GSOP drop-down list, select the GigaSMART operation configured in task 4. |
|
g.
|
Click Add a rule under Map Rules and create the following rule: |
Select IP Version from the drop-down list and select v4 for Version, and then select Pass.
|
Example 5 – GigaSMART L2GRE IPv6 Tunnel Encamp/Decap with Load-Balancing
In this example, the encapsulation and decapsulation nodes are configured with IP interfaces using IPv6 addresses and load-balancing. IPv6 tunnel load-balancing feature supports the distribution of traffic across multiple IPv6 tunnel destination through the same tool port. Two types of load-balancing is supported, stateful and stateless.
To access GigaSMART within GigaVUE‑FM, access a device that has been added to GigaVUE‑FM from the GigaVUE‑FM interface. GigaSMART appears in the navigation pane of the device view on supported devices. Refer to Access GigaSMART from GigaVUE‑FM for details.
Step 1: Configure a tool type of port and a network type of port.
Create a map using the tunnel encapsulation GigaSMART operation, with packets coming from the network port and being sent to the Internet through the tool port.
|
1.
|
Select Ports > Ports > All Ports. |
|
2.
|
Click Quick Port Editor. |
|
3.
|
Use Quick search to find the ports to configure. |
|
4.
|
Set the type for each port and select Enable. |
|
a.
|
type: tool - port 1/3/x7 |
|
b.
|
type: network - 1/3/x8 |
Step 3: Configure the IP Interface
|
1.
|
Select Ports > IP Interfaces. |
|
3.
|
In the Alias and Description fields, enter the name and description for the IP interface. |
|
4.
|
Click the Ports field and select the port from the drop-down list. |
|
5.
|
Select the Port address: IPv6 |
|
6.
|
Enter the IP address, subnet mask, gateway, and MTU settings in the respective fields. |
|
7.
|
From the GS Group drop-down list, select the required GigaSMART group. |
Step 5: Create a map using the tunnel encapsulation GigaSMART operation
|
1.
|
Select Maps > Maps > Maps. |
|
Figure 143
|
Map Configuration |
|
3.
|
Type an alias in the Map Alias field that will help you identify this map. |
|
4.
|
Select Regular and By Rule for the map type and subtype. |
|
5.
|
Specify the network and tool ports that you configured in step one in the Source and Destination fields, respectively. |
|
6.
|
From the GSOP drop-down list, select the GigaSMART operation configured in step 4. |
|
7.
|
Click Add a rule under Map Rules. |
|
8.
|
Select IP Version from the drop-down list and select v4 for Version. |
|
10.
|
Click Add a rule under Map Rules and create the following rule: |
|
11.
|
Select IP Version from the drop-down list and select v6 for Version. |
|
b.
|
Destination: To: 1/4x7 |
On the decapsulation node, configure the receiving end of the tunnel
Step 10: Create a map using the tunnel decapsulation GigaSMART operation.
|
1.
|
Select Maps > Maps > Maps. |
|
3.
|
Type an alias in the Map Alias field that will help you identify this map. |
|
4.
|
Select Regular and By Rule for the map type and subtype. |
|
5.
|
Specify the network and tool ports that you configured in task one in the Source and Destination fields, respectively. |
|
6.
|
From the GSOP drop-down list, select the GigaSMART operation. |
|
7.
|
Click Add a rule under Map Rules and create the following rule: |
|
8.
|
Select IP Version from the drop-down list and select v4 for Version. |
|
10.
|
Click Add a rule under Map Rules and create the following rule: |
|
11.
|
Select IP Version from the drop-down list and select v6 for Version. |
|
b.
|
Destination: To: 1/4x7 |
|
|